﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WordFlowDocumentCreator
{
    /// <summary>
    /// Options for Flow Document
    /// </summary>
    public class FlowDocumentOptions
    {
        #region Constructors
        /// <summary>
        /// Default constructor
        /// </summary>
        public FlowDocumentOptions()
        {
        }

        #endregion

        #region Properties
        /// <summary>
        /// Is Optimal Paragraph layout enabled
        /// </summary>
        public bool IsOptimalParagraphEnabled {get; set; }

        /// <summary>
        /// Is automatic hyphenation enabled
        /// </summary>
        public bool IsHyphenationEnabled { get; set; }

        /// <summary>
        /// Is column width flexible
        /// </summary>
        public bool IsColumnWidthFlexible { get; set; }

        /// <summary>
        /// Column width in pixels
        /// </summary>
        public double ColumnWidth { get; set; }

        /// <summary>
        /// Units for column width
        /// </summary>
        public string ColumnWidthUnits { get; set; }

        /// <summary>
        /// true to use 20 times the current font size for column width
        /// </summary>
        public bool AutoColumnWidth { get; set; }

        /// <summary>
        /// Page padding in pixels
        /// </summary>
        public double PagePadding { get; set; }

        /// <summary>
        /// units for page padding
        /// </summary>
        public string PagePaddingUnits { get; set; }

        /// <summary>
        /// auto page padding
        /// </summary>
        public bool AutoPagePadding { get; set; }

        /// <summary>
        /// true if WPF, false if Silverlight
        /// </summary>
        public bool IsWPF { get; set; }
        #endregion
    }
}
